package com.ssy.lingxi.member.merchant.api.model.vo.paas;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 平台会员审核流程配置接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-11-09
 */
public class PlatformProcessRuleVO implements Serializable {
    private static final long serialVersionUID = -6557976914236216959L;

    /**
     * 角色Id
     */
    @NotNull(message = "角色Id要大于0")
    @Positive(message = "角色Id要大于0")
    private Long roleId;

    /**
     * 流程Key
     */
    @NotBlank(message = "流程Key不能为空")
    @Size(max = 50, message = "流程Key最长50个字符")
    private String processKey;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getProcessKey() {
        return processKey;
    }

    public void setProcessKey(String processKey) {
        this.processKey = processKey;
    }
}
